﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Marmat.Common.Http.Attributes;
using Marmat.Common.Http;

namespace 测试项目
{

    [HttpHost("files")]
    public interface IUser : ITest
    {
        [HttpGet]
        [Timeout(50_000)]
        object InSingle(string key);
        [HttpPost]
        [Timeout(50_000)]
        HttpResponseFile Create([FromBody] Dictionary<string, object> vals);


        [HttpPost("FileUpload")]
        [Timeout(50_000)]
        [JsonResultFilter]
        string Upload([FromForm] FormCollection collection);
    }
}
